<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" layout:decorator="layout/base">
<head>
    <title>发单列表</title>
</head>
<body>
<!-- Page header -->
<div class="page-header" layout:fragment="page-header">
    <div class="page-header-content">
        <div class="page-title">
            <h4><i class="icon-arrow-left52 position-left"></i> <span class="text-semibold"
                                                                      th:text="#{web.name}">管理系统</span> - 发单列表</h4>
        </div>
    </div>
</div>
<!-- /page header -->

<!-- Main content -->
<div class="content-wrapper" layout:fragment="content">

    <!-- Table -->
    <div class="panel panel-flat min-panel">
        <div class="panel-heading">
            <h5 class="panel-title text-primary"><i class="icon-list"/>发单列表</h5>
        </div>

        <div class="panel-body">
            <form id="query" action="#" class="form-horizontal">
                <div class="row">
                    <div class="col-md-3">
                        <div class="form-group">
                            <label class="col-lg-3 control-label">标题:</label>
                            <div class="col-lg-9">
                                <input type="text" name="title" class="form-control" placeholder="标题 模糊查询"/>
                            </div>
                        </div>
                    </div>

                    <div class="col-md-2">
                        <div class="form-group">
                            <label class="col-lg-3 control-label">行业:</label>
                            <div class="col-lg-7">
                                <select name="industry" class="select form-control input-xs">
                                    <option value="">全部</option>
                                    <option th:each="m:${majors}"
                                            th:value="${m.value}"
                                            th:text="${m.name}"></option>
                                </select>
                            </div>
                        </div>
                    </div>

                    <div class="col-md-2">
                        <div class="form-group">
                            <label class="col-lg-3 control-label">风格:</label>
                            <div class="col-lg-7">
                                <select name="style" class="select form-control input-xs">
                                    <option value="">全部</option>
                                    <option th:each="s:${styles}"
                                            th:value="${s.value}"
                                            th:text="${s.name}"></option>
                                </select>
                            </div>
                        </div>
                    </div>

                    <div class="col-md-3 ">
                        <div class="form-group">
                            <button type="button" id="querySubmit" class="btn btn-primary">查询 <i
                                    class="icon-search position-right"></i></button>
                        </div>
                    </div>
                </div>
            </form>
            <table class="table datatable-basic table-striped table-hover">
                <thead>
                <tr class="bg-primary">
                    <th>发单人</th>
                    <th>标题</th>
                    <th>行业</th>
                    <th>风格</th>
                    <th>面积</th>
                    <th>预算</th>
                    <th>价格</th>
                    <th>QQ</th>
                    <th>微信</th>
                    <th>地区</th>
                    <th>发单时间</th>
                    <th>状态</th>
                    <th>接单人</th>
                    <th>接单时间</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody class="border-dashed">
                </tbody>
            </table>
        </div>
    </div>

    <script type="text/template" id="btnGroup">
        <div class="btn-group" data-toggle="buttons">
            <button type="button" class="btn bg-slate btn-icon btn-edit">查看</button>
        </div>
    </script>
    <!-- /table -->
    <script th:inline="javascript">
        var status = /*[[${status}]]*/ null;
        var majors = /*[[${majors}]]*/ null;
        var styles = /*[[${styles}]]*/ null;
        var statusList = /*[[${statusList}]]*/ null;
    </script>
    <script type="text/javascript" th:src="@{/oss/js/requirement/statusList.js}"></script>
</div>

</body>
</html>